{if $id neq null}
	{catalogue action="GETCOMPANY" id="$id" varname="cmp"}
<form action="index.php?module=catalogue&action=editcompany&fixact=1&id={$id}" method="post">
{else}
<form action="index.php?module=catalogue&action=addcompany&fixact=1" method="post">
{/if}
<fieldset class="groupbox">
    <legend>Данные о компании</legend>
	<table border="0" cellpadding="0" cellspacing="2">
	<tr><td width="20%">Название</td><td width="*"><input type="text" name="name" size="30" maxlength="255" value="{$cmp.name}"></td></tr>
	<tr><td>Описание</td><td><input type="text" name="description" size="30" maxlength="255" value="{$cmp.description}"></td></tr>
	<tr><td></td><td><input type="submit" value="Сохранить изменения" class="btn" checked></td></tr>
	</table>
</fieldset></form>